home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Enigma Amiga Life 106
/
EnigmaAmiga106CD.iso
/
dalla rivista...
/
samba
/
smb-connect
/
install
next >
Wrap
Text File
|
1999-07-30
|
3KB
|
136 lines
; This Installer script v1.00 for SMB-Connect
; Setzen der Sprachen
(set #t1 "")
(if (= @language "deutsch") (
(set #t1 "Kopiere SMB-Handler...")
(set #t2 "Kopiere SMB-Net...")
(set #t3 "Welche Sprachen sollen installiert werden?")
(set #t4 "deutsch")
(set #t5 "polnisch (nur SMB-Handler)")
(set #t6 "Kopiere deutsche Katalogdateien...")
(set #t7 "Kopiere polnische Katalogdatei...")
(set #t8 "\n\n\n\n\nInstallation erfolgreich beendet.")
(set #t9 "Welche Hilfedateien sollen installiert werden?")
(set #t10 "Kopiere deutsche Hilfedatei...")
(set #t11 "Soll das Guide angezeigt werden?")
(set #t12 "Kopiere englische Hilfedatei...")
(set #t13 "english")
(set #t14 "Soll das englische Guide angezeigt werden?")
))
(if (= #t1 "") (
(set #t1 "copy SMB-Handler...")
(set #t2 "copy SMB-Net...")
(set #t3 "Which languages should be copy?")
(set #t4 "german")
(set #t5 "polski (SMB-Handler only)")
(set #t6 "copy german catalogs...")
(set #t7 "copy polski catalog...")
(set #t8 "\n\n\n\n\nInstallation successfull finished.")
(set #t9 "Which guides should be copy?")
(set #t10 "copy german guide...")
(set #t11 "Show the german guide?")
(set #t12 "copy english guide...")
(set #t13 "english")
(set #t14 "Show the english guide?")
))
; SMB-Handler kopieren
(copylib
(prompt #t1)
(help @copylib-help)
(source "bin/SMB-Handler")
(dest "L:")
(optional "askuser" "force")
(confirm)
)
; SMB-Net kopieren
(copyfiles
(prompt #t2)
(help @copylib-help)
(source "bin")
(pattern "SMB-N#?")
(dest "sys:WBStartup")
(noposition)
(confirm)
)
; Kataloge kopieren
(set #name
(askoptions
(prompt #t3)
(help @askoptions-help)
(choices #t4 #t5)
(default 3)
)
)
(if (= (bitand #name 0) 1)
(copyfiles
(prompt #t6)
(help @copyfiles-help)
(source "catalogs/deutsch")
(dest "Locale:catalogs/deutsch")
(pattern "#?.catalog")
(files)
)
)
(if (= (bitand #name 1) 2)
(copyfiles
(prompt #t7)
(help @copyfiles-help)
(source "catalogs/polski")
(dest "Locale:catalogs/polski")
(pattern "#?.catalog")
(files)
)
)
; Hilfedateien kopieren
(set #name
(askoptions
(prompt #t9)
(help @askoptions-help)
(choices #t4 #t13)
(default 3)
)
)
(if (= (bitand #name 1) 1) (
(copyfiles
(prompt #t10)
(help @copyfiles-help)
(source "SMB-Connect_deutsch.guide")
(newname "SMB-Connect.guide")
(dest "Help:Deutsch")
(optional "askuser" "force")
(files)
)
(if (= (askbool (prompt #t11) (help @askbool-help)) 1) (
(run "multiview help:deutsch/SMB-Connect.guide")
))
))
(if (= (bitand #name 2) 2) (
(copyfiles
(prompt #t12)
(help @copyfiles-help)
(source "SMB-Connect_english.guide")
(newname "SMB-Connect.guide")
(dest "Help:English")
(optional "askuser" "force")
(files)
)
(if (= (askbool (prompt #t14) (help @askbool-help)) 1) (
(run "multiview help:english/SMB-Connect.guide")
))
))
(exit #t8
(quiet)
)